package com.wish233.consumer;

import com.wish233.bootstrap.consumer.ConsumerBooStrap;
import com.wish233.common.service.UserService;
import com.wish233.proxy.ServiceProxyFactory;


/**
 * @author WHH
 */
public class ConsumerApplication {
    public static void main(String[] args) {
        ConsumerBooStrap.start();
        UserService proxy = ServiceProxyFactory.getProxy(UserService.class);
        int userAge = proxy.getUserAge("123");
        System.out.println(userAge);
        System.exit(0);
    }
}
